package com.ylz.sjzx.sio.core.group.processor;

import com.alipay.remoting.Connection;
import com.alipay.remoting.ConnectionEventProcessor;
import com.ylz.sjzx.sio.core.group.manager.DiscoverManager;

/**
 * 连接成功处理器
 *
 * @author
 * @version 1.0
 * @date 2021/2/18
 */
public class RpcServerConnectSuccessProcessor implements ConnectionEventProcessor {
    @Override
    public void onEvent(String remoteAddress, Connection connection) {
        //添加connect
        DiscoverManager.refreshService();
    }
}
